package com.stockz.ui.swing.charting.display.screen;

import org.springframework.stereotype.Component;

import com.stockz.scanner.screen.SimpleConsolidationBreakoutScreen;

@Component
public class SimpleConsolidationBreakoutScreenDisplay extends
		AbstractDisplayableScreenConfiguration {
	
	private SimpleConsolidationBreakoutScreen screen
				= new SimpleConsolidationBreakoutScreen();

	@Override
	public String getFullName() {
		return "Simple Consolidation Breakout Screen";
	}

	@Override
	public String getShortName() {
		return getFullName();
	}

	@Override
	public String getDescription() {
		return getShortName()+", "
				+screen.getConfiguration().getRangePercentage()+"%, "
				+screen.getConfiguration().getSpan();
	}

	@SuppressWarnings("unchecked")
	@Override
	public SimpleConsolidationBreakoutScreen getScreen() {
		return screen;
	}

}
